package com.ruoyi.business.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;

/**
 * 小节视频对象 T_COURSE_VEDIO
 * 
 * @author 最爱喝兽奶
 * @date 2022-08-02
 */
@Data
@TableName(value = "T_COURSE_VIDEO")
public class CourseVideo implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId
    private String id;

    /** 这一节课的名字 */
    @TableField(value = "name")
    private String name;

    /** 存储视频 */
    @TableField(value = "video")
    private String video;

    /** 所属课程的id */
    @TableField(value = "course_id")
    private String courseId;

    /** 所属章节的id */
    @TableField(value = "chapter_id")
    private String chapterId;

    /** 第几节 */
    @TableField(value = "section_number")
    private Long sectionNumber;

}
